package com.itheima.day04_array;

public class Demo10_arr {
    public static void main(String[] args) {
        int[] arr = {11, 22, 33};

        int[] arr2 = arr;

        System.out.println("arr[1] = " + arr[1]);

        arr2[1] = 99;
        System.out.println("arr[1] = " + arr[1]);
        System.out.println("arr2[1] = " + arr2[1]);

        arr2 = null;
        System.out.println("arr2 = " + arr2);

        System.out.println("arr2[0] = " + arr2[0]);
        System.out.println("arr2.length = " + arr2.length);
    }
}
